import Vue from 'vue'
import App from './App'
import store from '@/store'
import mixin from './mixin.js';
// 融云IM初始化
import '@/utils/rongIMLib/init.js';

Vue.prototype.EventBus = new Vue()
Vue.prototype.$onLaunched = new Promise(resolve => {
  Vue.prototype.$isResolve = resolve
})

import uView from "uview-ui"
Vue.use(uView);
Vue.mixin(mixin);
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App,
  store
})
app.$mount()